const router = require('koa-router')()
import userController from '../controller/user'
router.prefix('/users')
router.get('/', function (ctx, next) {
  ctx.body = 'this is a users response!'
})
router.get('/bar', function (ctx, next) {
  ctx.body = 'this is a users/bar response'
})
router.get('/add', userController.addUser)
module.exports = router